package ru.tennisworld.user.service.users;


import ru.tennisworld.user.entities.TennisUser;

import java.util.List;

public interface TennisUserService {

    TennisUser updateTennisUserMainInfo(TennisUser upd, TennisUser src);

    void updateUserRating(TennisUser winner, TennisUser loser);

    boolean checkUserDuplication(String username);

    TennisUser getTennisUser(String username);

    List<TennisUser> getUserReferenceList(List<String> username);

    TennisUser createNewServiceUser(TennisUser tennisUser);
}
